const { SyncHook } = require('./tapable');
debugger
const hook = new SyncHook(['name', 'age']);
hook.tap({name:'1'}, (name,age) => {
  console.log(1,name,age);
});
hook.tap('2', (name,age) => {
  console.log(2,name,age);
});
hook.tap('3', (name,age) => {
  console.log(3,name,age);
});
hook.call('zhufeng',18);